/**
 * Created by Administrator on 2018/2/26 0026.
 */

lastTime = function (value, row, index) {
    if (row.ifDiscount == 1) {
        return '<span>' + '是' + '</span>'
    } else {
        return '<span>' + '否' + '</span>'
    }
};

payType = function (value, row, index) {
    if (row.payMethod == 1) {
        return '<span>' + '支付宝' + '</span>'
    } else {
        return '<span>' + '微信' + '</span>'
    }
};

var life = function () {
    var name = $("#name").val();
    var tele = $("#tele").val();
    var url = $().AbsUrlParse("/web/time/queryUserLife?name=" + name + "&telephone=" + tele );
    $("#table").bootstrapTable("refresh", {url: url});
};